package cn.wgx.modules.sys.entity;

import cn.wgx.modules.base.entity.BaseEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;

/**
 * Created By MBG-GUI-EXTENSION https://github.com/spawpaw/mybatis-generator-gui-extension
 * Description:
 * 用户信息基本表
 *
 * @author
 */
public class SysUser extends BaseEntity implements Serializable {
    /**
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer user_id;

    /**
     * 登录名
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String username;

    /**
     * 密码
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String mima;

    /**
     * 交易密码
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String payMima;

    /**
     * 姓名
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String nickname;

    /**
     * 盐
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String salt;

    /**
     * 角色（管理员=1;  平台教师=2 ;学校教师=3; 学生=4; )
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String role_id;

    /**
     * 类型（管理员=1;  平台教师=2 ;学校教师=3; 学生=4; )
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer type;

    /**
     * 团队 - 作废
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String team;

    /**
     * 部门 - 作废
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String department;

    /**
     * 个性签名(个人评价)
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String signature;

    /**
     * 个人关键字 分享记录0未读1已读
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String keyWord;

    /**
     * 国家
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String country;

    /**
     * 省份
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String province;

    /**
     * 城市
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String city;

    /**
     * 职业
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String job;

    /**
     * 性别(0女,1男)
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer sex;

    /**
     * 头像地址
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String photo;

    /**
     * QQ帐号
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String QQ;

    /**
     * 电话
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String phone;

    /**
     * 邮箱
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private String email;

    /**
     * 状态(0:正常,1:锁定,2解锁,3永久锁定)
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer status;

    /**
     * 手机验证,0没有,1已验证
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Boolean phoneCheck;

    /**
     * 邮箱验证
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Boolean emailCheck;

    /**
     * 是否删除 0否 1是
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer is_delete;

    /**
     * 更新时间
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Date updateDate;

    /**
     * 更新人
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer updateUserId;

    /**
     * 创建人
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Integer createUserId;

    /**
     * 创建时间
     *
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private Date createDate;

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method returns the value of the database column education..sys_user.user_id
     *
     * @return the value of education..sys_user.user_id
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withUser_id(Integer user_id) {
        this.setUser_id(user_id);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.user_id
     *
     * @param user_id the value for education..sys_user.user_id
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * This method returns the value of the database column education..sys_user.username
     *
     * @return the value of education..sys_user.username
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getUsername() {
        return username;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withUsername(String username) {
        this.setUsername(username);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.username
     *
     * @param username the value for education..sys_user.username
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * This method returns the value of the database column education..sys_user.mima
     *
     * @return the value of education..sys_user.mima
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getMima() {
        return mima;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withMima(String mima) {
        this.setMima(mima);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.mima
     *
     * @param mima the value for education..sys_user.mima
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setMima(String mima) {
        this.mima = mima;
    }

    /**
     * This method returns the value of the database column education..sys_user.payMima
     *
     * @return the value of education..sys_user.payMima
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getPayMima() {
        return payMima;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withPayMima(String payMima) {
        this.setPayMima(payMima);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.payMima
     *
     * @param payMima the value for education..sys_user.payMima
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setPayMima(String payMima) {
        this.payMima = payMima;
    }

    /**
     * This method returns the value of the database column education..sys_user.nickname
     *
     * @return the value of education..sys_user.nickname
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getNickname() {
        return nickname;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withNickname(String nickname) {
        this.setNickname(nickname);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.nickname
     *
     * @param nickname the value for education..sys_user.nickname
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * This method returns the value of the database column education..sys_user.salt
     *
     * @return the value of education..sys_user.salt
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getSalt() {
        return salt;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withSalt(String salt) {
        this.setSalt(salt);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.salt
     *
     * @param salt the value for education..sys_user.salt
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setSalt(String salt) {
        this.salt = salt;
    }

    /**
     * This method returns the value of the database column education..sys_user.role_id
     *
     * @return the value of education..sys_user.role_id
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getRole_id() {
        return role_id;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withRole_id(String role_id) {
        this.setRole_id(role_id);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.role_id
     *
     * @param role_id the value for education..sys_user.role_id
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setRole_id(String role_id) {
        this.role_id = role_id;
    }

    /**
     * This method returns the value of the database column education..sys_user.type
     *
     * @return the value of education..sys_user.type
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getType() {
        return type;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withType(Integer type) {
        this.setType(type);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.type
     *
     * @param type the value for education..sys_user.type
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method returns the value of the database column education..sys_user.team
     *
     * @return the value of education..sys_user.team
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getTeam() {
        return team;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withTeam(String team) {
        this.setTeam(team);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.team
     *
     * @param team the value for education..sys_user.team
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setTeam(String team) {
        this.team = team;
    }

    /**
     * This method returns the value of the database column education..sys_user.department
     *
     * @return the value of education..sys_user.department
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getDepartment() {
        return department;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withDepartment(String department) {
        this.setDepartment(department);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.department
     *
     * @param department the value for education..sys_user.department
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * This method returns the value of the database column education..sys_user.signature
     *
     * @return the value of education..sys_user.signature
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getSignature() {
        return signature;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withSignature(String signature) {
        this.setSignature(signature);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.signature
     *
     * @param signature the value for education..sys_user.signature
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setSignature(String signature) {
        this.signature = signature;
    }

    /**
     * This method returns the value of the database column education..sys_user.keyWord
     *
     * @return the value of education..sys_user.keyWord
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getKeyWord() {
        return keyWord;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withKeyWord(String keyWord) {
        this.setKeyWord(keyWord);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.keyWord
     *
     * @param keyWord the value for education..sys_user.keyWord
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    /**
     * This method returns the value of the database column education..sys_user.country
     *
     * @return the value of education..sys_user.country
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getCountry() {
        return country;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withCountry(String country) {
        this.setCountry(country);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.country
     *
     * @param country the value for education..sys_user.country
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * This method returns the value of the database column education..sys_user.province
     *
     * @return the value of education..sys_user.province
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getProvince() {
        return province;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withProvince(String province) {
        this.setProvince(province);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.province
     *
     * @param province the value for education..sys_user.province
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * This method returns the value of the database column education..sys_user.city
     *
     * @return the value of education..sys_user.city
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getCity() {
        return city;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withCity(String city) {
        this.setCity(city);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.city
     *
     * @param city the value for education..sys_user.city
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * This method returns the value of the database column education..sys_user.job
     *
     * @return the value of education..sys_user.job
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getJob() {
        return job;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withJob(String job) {
        this.setJob(job);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.job
     *
     * @param job the value for education..sys_user.job
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setJob(String job) {
        this.job = job;
    }

    /**
     * This method returns the value of the database column education..sys_user.sex
     *
     * @return the value of education..sys_user.sex
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getSex() {
        return sex;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withSex(Integer sex) {
        this.setSex(sex);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.sex
     *
     * @param sex the value for education..sys_user.sex
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * This method returns the value of the database column education..sys_user.photo
     *
     * @return the value of education..sys_user.photo
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getPhoto() {
        return photo;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withPhoto(String photo) {
        this.setPhoto(photo);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.photo
     *
     * @param photo the value for education..sys_user.photo
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * This method returns the value of the database column education..sys_user.QQ
     *
     * @return the value of education..sys_user.QQ
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getQQ() {
        return QQ;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withQQ(String QQ) {
        this.setQQ(QQ);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.QQ
     *
     * @param QQ the value for education..sys_user.QQ
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setQQ(String QQ) {
        this.QQ = QQ;
    }

    /**
     * This method returns the value of the database column education..sys_user.phone
     *
     * @return the value of education..sys_user.phone
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getPhone() {
        return phone;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withPhone(String phone) {
        this.setPhone(phone);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.phone
     *
     * @param phone the value for education..sys_user.phone
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * This method returns the value of the database column education..sys_user.email
     *
     * @return the value of education..sys_user.email
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public String getEmail() {
        return email;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withEmail(String email) {
        this.setEmail(email);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.email
     *
     * @param email the value for education..sys_user.email
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * This method returns the value of the database column education..sys_user.status
     *
     * @return the value of education..sys_user.status
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getStatus() {
        return status;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.status
     *
     * @param status the value for education..sys_user.status
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method returns the value of the database column education..sys_user.phoneCheck
     *
     * @return the value of education..sys_user.phoneCheck
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Boolean getPhoneCheck() {
        return phoneCheck;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withPhoneCheck(Boolean phoneCheck) {
        this.setPhoneCheck(phoneCheck);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.phoneCheck
     *
     * @param phoneCheck the value for education..sys_user.phoneCheck
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setPhoneCheck(Boolean phoneCheck) {
        this.phoneCheck = phoneCheck;
    }

    /**
     * This method returns the value of the database column education..sys_user.emailCheck
     *
     * @return the value of education..sys_user.emailCheck
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Boolean getEmailCheck() {
        return emailCheck;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withEmailCheck(Boolean emailCheck) {
        this.setEmailCheck(emailCheck);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.emailCheck
     *
     * @param emailCheck the value for education..sys_user.emailCheck
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setEmailCheck(Boolean emailCheck) {
        this.emailCheck = emailCheck;
    }

    /**
     * This method returns the value of the database column education..sys_user.is_delete
     *
     * @return the value of education..sys_user.is_delete
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getIs_delete() {
        return is_delete;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withIs_delete(Integer is_delete) {
        this.setIs_delete(is_delete);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.is_delete
     *
     * @param is_delete the value for education..sys_user.is_delete
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setIs_delete(Integer is_delete) {
        this.is_delete = is_delete;
    }

    /**
     * This method returns the value of the database column education..sys_user.updateDate
     *
     * @return the value of education..sys_user.updateDate
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withUpdateDate(Date updateDate) {
        this.setUpdateDate(updateDate);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.updateDate
     *
     * @param updateDate the value for education..sys_user.updateDate
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * This method returns the value of the database column education..sys_user.updateUserId
     *
     * @return the value of education..sys_user.updateUserId
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withUpdateUserId(Integer updateUserId) {
        this.setUpdateUserId(updateUserId);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.updateUserId
     *
     * @param updateUserId the value for education..sys_user.updateUserId
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * This method returns the value of the database column education..sys_user.createUserId
     *
     * @return the value of education..sys_user.createUserId
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Integer getCreateUserId() {
        return createUserId;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withCreateUserId(Integer createUserId) {
        this.setCreateUserId(createUserId);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.createUserId
     *
     * @param createUserId the value for education..sys_user.createUserId
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * This method returns the value of the database column education..sys_user.createDate
     *
     * @return the value of education..sys_user.createDate
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public SysUser withCreateDate(Date createDate) {
        this.setCreateDate(createDate);
        return this;
    }

    /**
     * This method sets the value of the database column education..sys_user.createDate
     *
     * @param createDate the value for education..sys_user.createDate
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", user_id=").append(user_id);
        sb.append(", username=").append(username);
        sb.append(", mima=").append(mima);
        sb.append(", payMima=").append(payMima);
        sb.append(", nickname=").append(nickname);
        sb.append(", salt=").append(salt);
        sb.append(", role_id=").append(role_id);
        sb.append(", type=").append(type);
        sb.append(", team=").append(team);
        sb.append(", department=").append(department);
        sb.append(", signature=").append(signature);
        sb.append(", keyWord=").append(keyWord);
        sb.append(", country=").append(country);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", job=").append(job);
        sb.append(", sex=").append(sex);
        sb.append(", photo=").append(photo);
        sb.append(", QQ=").append(QQ);
        sb.append(", phone=").append(phone);
        sb.append(", email=").append(email);
        sb.append(", status=").append(status);
        sb.append(", phoneCheck=").append(phoneCheck);
        sb.append(", emailCheck=").append(emailCheck);
        sb.append(", is_delete=").append(is_delete);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", createDate=").append(createDate);
        sb.append("]");
        return sb.toString();
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysUser other = (SysUser) that;
        return (this.getUser_id() == null ? other.getUser_id() == null : this.getUser_id().equals(other.getUser_id()))
                && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
                && (this.getMima() == null ? other.getMima() == null : this.getMima().equals(other.getMima()))
                && (this.getPayMima() == null ? other.getPayMima() == null : this.getPayMima().equals(other.getPayMima()))
                && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
                && (this.getSalt() == null ? other.getSalt() == null : this.getSalt().equals(other.getSalt()))
                && (this.getRole_id() == null ? other.getRole_id() == null : this.getRole_id().equals(other.getRole_id()))
                && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
                && (this.getTeam() == null ? other.getTeam() == null : this.getTeam().equals(other.getTeam()))
                && (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()))
                && (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
                && (this.getKeyWord() == null ? other.getKeyWord() == null : this.getKeyWord().equals(other.getKeyWord()))
                && (this.getCountry() == null ? other.getCountry() == null : this.getCountry().equals(other.getCountry()))
                && (this.getProvince() == null ? other.getProvince() == null : this.getProvince().equals(other.getProvince()))
                && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
                && (this.getJob() == null ? other.getJob() == null : this.getJob().equals(other.getJob()))
                && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
                && (this.getPhoto() == null ? other.getPhoto() == null : this.getPhoto().equals(other.getPhoto()))
                && (this.getQQ() == null ? other.getQQ() == null : this.getQQ().equals(other.getQQ()))
                && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
                && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
                && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
                && (this.getPhoneCheck() == null ? other.getPhoneCheck() == null : this.getPhoneCheck().equals(other.getPhoneCheck()))
                && (this.getEmailCheck() == null ? other.getEmailCheck() == null : this.getEmailCheck().equals(other.getEmailCheck()))
                && (this.getIs_delete() == null ? other.getIs_delete() == null : this.getIs_delete().equals(other.getIs_delete()))
                && (this.getUpdateDate() == null ? other.getUpdateDate() == null : this.getUpdateDate().equals(other.getUpdateDate()))
                && (this.getUpdateUserId() == null ? other.getUpdateUserId() == null : this.getUpdateUserId().equals(other.getUpdateUserId()))
                && (this.getCreateUserId() == null ? other.getCreateUserId() == null : this.getCreateUserId().equals(other.getCreateUserId()))
                && (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()));
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUser_id() == null) ? 0 : getUser_id().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getMima() == null) ? 0 : getMima().hashCode());
        result = prime * result + ((getPayMima() == null) ? 0 : getPayMima().hashCode());
        result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
        result = prime * result + ((getSalt() == null) ? 0 : getSalt().hashCode());
        result = prime * result + ((getRole_id() == null) ? 0 : getRole_id().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getTeam() == null) ? 0 : getTeam().hashCode());
        result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
        result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
        result = prime * result + ((getKeyWord() == null) ? 0 : getKeyWord().hashCode());
        result = prime * result + ((getCountry() == null) ? 0 : getCountry().hashCode());
        result = prime * result + ((getProvince() == null) ? 0 : getProvince().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getJob() == null) ? 0 : getJob().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getPhoto() == null) ? 0 : getPhoto().hashCode());
        result = prime * result + ((getQQ() == null) ? 0 : getQQ().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getPhoneCheck() == null) ? 0 : getPhoneCheck().hashCode());
        result = prime * result + ((getEmailCheck() == null) ? 0 : getEmailCheck().hashCode());
        result = prime * result + ((getIs_delete() == null) ? 0 : getIs_delete().hashCode());
        result = prime * result + ((getUpdateDate() == null) ? 0 : getUpdateDate().hashCode());
        result = prime * result + ((getUpdateUserId() == null) ? 0 : getUpdateUserId().hashCode());
        result = prime * result + ((getCreateUserId() == null) ? 0 : getCreateUserId().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated Thu Mar 12 01:52:51 CST 2020
     */
    public enum Column {
        user_id("user_id", "user_id", "INTEGER", false),
        username("username", "username", "VARCHAR", false),
        mima("mima", "mima", "VARCHAR", false),
        payMima("payMima", "payMima", "VARCHAR", false),
        nickname("nickname", "nickname", "VARCHAR", false),
        salt("salt", "salt", "VARCHAR", false),
        role_id("role_id", "role_id", "VARCHAR", false),
        type("type", "type", "INTEGER", false),
        team("team", "team", "VARCHAR", false),
        department("department", "department", "VARCHAR", false),
        signature("signature", "signature", "VARCHAR", false),
        keyWord("keyWord", "keyWord", "VARCHAR", false),
        country("country", "country", "VARCHAR", false),
        province("province", "province", "VARCHAR", false),
        city("city", "city", "VARCHAR", false),
        job("job", "job", "VARCHAR", false),
        sex("sex", "sex", "INTEGER", false),
        photo("photo", "photo", "VARCHAR", false),
        QQ("QQ", "QQ", "VARCHAR", false),
        phone("phone", "phone", "VARCHAR", false),
        email("email", "email", "VARCHAR", false),
        status("status", "status", "INTEGER", false),
        phoneCheck("phoneCheck", "phoneCheck", "BIT", false),
        emailCheck("emailCheck", "emailCheck", "BIT", false),
        is_delete("is_delete", "is_delete", "INTEGER", false),
        updateDate("updateDate", "updateDate", "TIMESTAMP", false),
        updateUserId("updateUserId", "updateUserId", "INTEGER", false),
        createUserId("createUserId", "createUserId", "INTEGER", false),
        createDate("createDate", "createDate", "TIMESTAMP", false);

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private static final String BEGINNING_DELIMITER = "\"";

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private static final String ENDING_DELIMITER = "\"";

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private final String column;

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private final boolean isColumnNameDelimited;

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private final String javaProperty;

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        private final String jdbcType;

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String value() {
            return this.column;
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String getValue() {
            return this.column;
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         *
         * @mbg.generated Thu Mar 12 01:52:51 CST 2020
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }
    }
}